//
//  StockKLineView.h
//  K线图自治
//
//  Created by LK-IOS on 2017/12/13.
//  Copyright © 2017年 LK-IOS. All rights reserved.
//

#import <UIKit/UIKit.h>

@class StockKLineModel , StockKLineView;

@protocol StockKLineViewDelegate <NSObject>

@optional
//方法为可选择实现

-(NSMutableArray<__kindof StockKLineModel*>*)stockKLineView:(StockKLineView *)stockKLineView LoadmoreData:(NSString *)loadDataNeedString;


@end

@interface StockKLineView : UIView




/**
 构造器
 @param kLineModels K线模型数组
 @return 对象
 */
- (instancetype)initWithKLineModels:(NSMutableArray<__kindof StockKLineModel*>*)kLineModels;



/**
 重绘视图

 @param kLineModels K线模型数组
 */
- (void)reDrawWithKLineModelsArray:(NSMutableArray<__kindof StockKLineModel*>*)kLineModels;





@property (nonatomic , weak)id<StockKLineViewDelegate>delegate;

@end
